<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    var str="";
    var week=new Date().getDay();
    if(week==0){
        str="今天星期天,休息"
    }else if(week==1){
        str="今天是星期一,上班,开会"
    }else if(week==2){
        str="今天是星期三,上班,团队讨论需求"
    }else if(week==3){
        str="今天是星期三,上班,制定方案"
    }else if(week==4){
        str="今天是星期四,上班,编写程序"
    }else if(week==5){
        str="今天是星期五,上班,汇报工作"
    }else if(week==6){
        str="今天是星期六,上班,休息"
    }
    alert(str);
</script>
</html>